package com.shop.service;

import com.shop.pojo.Employee;

public interface EmployeeService {

    public Employee checkLogin(String username);

    /**
     * 根据员工账号查找员工
     * @param name
     * @return
     */
    Employee findEmployeeByName(String name);

    /**
     * 根据managrId 查找出某个员工的上司
     * @param managerId
     * @return
     */
    public Employee findManagerByManagerId(Long managerId);

    Employee findEmployeeManagerByManagerId(long manageId);
}
